package com.xq.springboot.domain;

/**
 * 响应结果类,用于封装响应结果.http请求返回的最外层对象.
 *
 * @author 郭凯强
 */
public class ResponseResult {
	/**
	 * 错误码.
	 */
	private Integer errorCode;
	/**
	 * 成功或失败的提示信息
	 */
	private String message;

	/**
	 * 具体响应结果信息.
	 */
	private Object result;

	public Integer getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(Integer errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

}
